#ifndef CONFIG_H
#define CONFIG_H
/********** 游戏配置数据 **********/
#define GAME_WIDTH 864 //宽度
#define GAME_HEIGHT 512 //高度
#define GAME_TITLE "FlaggyBird v1.0" //标题
#define GAME_RES_PATH "./bird.rcc" //rcc文件路径
#define GAME_ICON  ":/res/favicon.ico"
/********** 背景配置数据 **********/
#define STARTMAP_PATH ":/flappybird/title.png"
#define STARTMAP_PATH2 ":/flappybird/ready.png"
#define STARTMAP_PATH3 ":/flappybird/tutorial.png"
#define MAP1_PATH ":/flappybird/background-day.jpg"
#define MAP2_PATH ":/flappybird/background-night.png"
#define GAME_RATE 10 //刷新间隔，帧率 单位毫秒
#define bgm ":/res/BGM.wav"
/********** 地基配置数据 **********/
#define BASE_PATH ":/flappybird/base.png"
#define BASE_SPEED 2
#define BASE_Y 470
/********** 小鸟配置数据 **********/
#define BIRD_UP_PATH ":/flappybird/bluebird-upflap.png"
#define BIRD_MID_PATH ":/flappybird/bluebird-midflap.png"
#define BIRD_DOWN_PATH ":/flappybird/bluebird-downflap.png"
#define BIRD_DOWN_SPEED 3
#define BIRD_UP_SPEED 50
#define BIRD_FLAP1_SOUND ":/swoosh.wav"
#define BIRD_FLAP2_SOUND ":/wing.wav"
#define BIRD_DEAD_SPEED 5
#define BIRD_DEAD_PATH ":/flappybird/bluebird-dead.png"
#define BIRD_DROP_SOUND ":/die.wav"
#define BIRD_SCORE_SOUND ":/point.wav"
/********** 管道配置数据 **********/
#define TUBE_SPEED 2
#define TUBE_PATH ":/flappybird/pipe_up.png"
#define TUBE_PATH2 ":/flappybird/pipe_down.png"
#define TUBE_INTERVAL 220
#define TUBE_NUM 50
/********** 死亡配置数据 **********/
#define GAMEOVER_PATH ":/flappybird/gameover.jpg"
#define BUTTON ":/flappybird/button_play3.png"
#define CRASH_PATH ":/hit.wav"
/********** 得分配置数据 **********/
#define S_0 ":/flappybird/0.png"
#define S_1 ":/flappybird/1.png"
#define S_2 ":/flappybird/2.png"
#define S_3 ":/flappybird/3.png"
#define S_4 ":/flappybird/4.png"
#define S_5 ":/flappybird/5.png"
#define S_6 ":/flappybird/6.png"
#define S_7 ":/flappybird/7.png"
#define S_8 ":/flappybird/8.png"
#define S_9 ":/flappybird/9.png"

#endif // CONFIG_H
